package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_dmc_csun_sleep_collection")
public class DmcCsunSleepCollection extends BaseEntity {

    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private String deviceId;

    /**
     * 设备编号
     */
    @Column(name = "device_no")
    private String deviceNo;

    /**
     * 文件名
     */
    @Column(name = "file_name")
    private String fileName;

    /**
     * 文件
     */
    @Column(name = "file_data")
    private byte[] fileData;

    /**
     * 文件名
     */
    @Column(name = "`length`")
    private Integer length;

}